/*
 * Description: 报价专案调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Jian.Yang
 * Date: 2020/0106 08:26
 */

import { httpPost } from '../../utils/axios-utils'

export function projectSimpleList(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/simpleList', obj, authConfig)
}

export function projectPageList(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/pageList', obj, authConfig)
}

export function projectPageListReceive(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/pageListReceive', obj, authConfig)
}

export function projectPageListByUserBu(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/pageListByUserBu', obj, authConfig)
}

export function projectAdd(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/add', obj, authConfig)
}

export function projectEdit(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/edit', obj, authConfig)
}

export function projectAssign(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/assign', obj, authConfig)
}

export function projectAssignRollback(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/assignRollback', obj, authConfig)
}

export function projectDelete(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/delete', obj, authConfig)
}

export function projectQueryByTempModelId(obj, authConfig) {
  return httpPost('/smart-cost/server_bom/project/queryByTempModelId', obj, authConfig)
}
